Skip to content

Conversation

@amrohendawi
Copy link

@amrohendawi amrohendawi commented Aug 28, 2025

What I changed

  • Added Swagger UI at /api/docs/
  • Implemented dynamic OpenAPI JSON at /api/v1/swagger.json (scans Flask url_map for /api/v1 routes)
  • Added POST /api/v1/token for credential→token exchange and configured Swagger token header auth
  • Fixed token validation to use email_confirmed_at/is_active and added User.confirmed compatibility property

How to validate

  • Initialize DB, start app, open /api/docs/, authorize with a token obtained from /api/v1/token and call protected endpoints.
image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant